<?php if(empty($padres)):?>
<h3>NO SE ENCONTRO REGISTROS !!!</h3>
<?php else:?>
<table class="table table-striped table-bordered dTableR" id="dt_a">
            <thead>
                <tr>                                          
                    <th>Apellido Paterno</th>
                    <th>Apellido Materno</th>
                    <th>Nombre</th>
                    <th>Telefonos</th>
                    <th>Observacion</th>                    
                    <th>Acciones</th>     
                </tr>
            </thead>
            <tbody>
                <?php foreach ($padres as $padre): ?>
                    <?php $id = $padre['Padre']['id']; ?>
                    <tr>                                                 
                        <td><?php echo $padre['Padre']['ap_paterno']; ?></td>
                        <td><?php echo $padre['Padre']['ap_materno']; ?></td>
                        <td><?php echo $padre['Padre']['nombre']; ?></td> 
                        <td>
                        <?php echo $padre['Padre']['celular'] ?>&nbsp;<?php echo $padre['Padre']['telefono'] ?>
                        </td>
                        <td><?php echo $prof['Padre']['observacion']; ?></td>
                        <td>
                            
                            <?php echo $this->Html->image("iconos/asigalumno.png", array("title" => "Asignar Alumno",'url' => array('action'=>'asignalumno', $id)));?>
                            <?php echo $this->Html->image("iconos/ver.png", array("title" => "Ver Alumno",'url' => array('action'=>'vertutela', $id)));?>
                            <?php echo $this->Html->image("iconos/edit.png", array("title" => "Editar al Alumno",'url' => array('action'=>'edit', $id)));?>
                            <?php echo $this->Html->image("iconos/elim.png", array("title" => "Eliminar al Alumno",'url' => array('action'=>'delete', $id)));?>                            
                            <?php //echo $this->Html->link('Asignar alumno',array('action'=>'asignalumno',$id));?>
                            <?php //echo $this->Html->link('VER',array('action'=>'vertutela',$id));?>
                            <?php //echo $this->Html->link('EDITAR',array('action'=>'edit',$id));?>
                            <?php //echo $this->Html->link('ELIMINAR',array('action'=>'delete',$id),null,('Desea aliminar a este Padre.....!!!!!?')); ?> 
                        </td>
                    </tr>
                    <?php
                endforeach;
                ?>
            </tbody>
        </table>
<?php endif;?>